home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Resources / Chat & Communication / Digsby build 37 / digsby_setup.exe / lib / dns / ipv4.pyo (.txt) < prev    next >
Python Compiled Bytecode  |  2008-10-13  |  473b  |  17 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.5)
  3.  
  4. import socket
  5. import sys
  6. if sys.hexversion < 33751040 or sys.platform == 'win32':
  7.     
  8.     def inet_aton(text):
  9.         if text == '255.255.255.255':
  10.             return '\xff\xff\xff\xff'
  11.         else:
  12.             return socket.inet_aton(text)
  13.  
  14. else:
  15.     inet_aton = socket.inet_aton
  16. inet_ntoa = socket.inet_ntoa
  17.